package net.huashitong.Project.responseModel;

//效率模块
public class NodeEffecModel {
    private String nodeId;  //节点ID
    private int timeState;  //正数表示超前；0表示正常；负数表示逾期
    private double percent; //占比
    private String name;//节点名称

    public NodeEffecModel(int timeState, String nodeId, double percent) {
        this.nodeId = nodeId;
        this.timeState = timeState;
        this.percent = percent;
    }

    public String getNodeId() {
        return nodeId;
    }

    public void setNodeId(String nodeId) {
        this.nodeId = nodeId;
    }

    public int getTimeState() {
        return timeState;
    }

    public void setTimeState(int timeState) {
        this.timeState = timeState;
    }

    public double getPercent() {
        return percent;
    }

    public void setPercent(double percent) {
        this.percent = percent;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "NodeEffecModel{" +
                "nodeId='" + nodeId + '\'' +
                ", timeState=" + timeState +
                ", percent=" + percent +
                '}';
    }

}
